import 'package:airbnb_clone/internal/http/request/article_detail_request.dart';

import '../../../models/response.dart';
import '../core/hi_net.dart';

class ArticleDeatilDao {
  static get(int articleId) async {
    ArticleDetailRequest request = ArticleDetailRequest();
    request.add("ArticleId", articleId);
    var result = await HiNet.getInstance().fire(request);
    TiebaResponse response = TiebaResponse.fromMap(result);
    return response;
  }
}
